package com.ss.android.lockscreen.views.ratio;

import android.content.Context;
import android.support.design.a;
import android.util.AttributeSet;
import android.util.Pair;
import android.widget.RelativeLayout;

public class RatioRelativeLayout extends RelativeLayout {
    private b a;

    public RatioRelativeLayout(Context arg1) {
        super(arg1);
    }

    public RatioRelativeLayout(Context arg2, AttributeSet arg3) {
        super(arg2, arg3);
        this.a = android.support.design.a.a(arg2, arg3);
    }

    public RatioRelativeLayout(Context arg2, AttributeSet arg3, int arg4) {
        super(arg2, arg3, arg4);
        this.a = android.support.design.a.a(arg2, arg3);
    }

    protected void onMeasure(int arg4, int arg5) {
        Pair<Integer, Integer> v1 = android.support.design.a.a(this.a, arg4, arg5);
        super.onMeasure(v1.first.intValue(), v1.second.intValue());
    }
}

